<?php

global $_GPC;
global $_W;
$operation = !empty($_GPC['op']) ? $_GPC['op'] : 'display';
if ($operation != 'display') {
    if ($operation != 'post') {
        if ($operation == 'logout') {
            isetcookie('_userid', '');
            isetcookie('__session', '');
            isetcookie('__uniacid', '');
            isetcookie('__uid', '');
            header('location:/web/index.php?c=user&a=login');
        }
    }
}
include $this->template('web/' . $cfg['floder'] . '/index');